package com.milk.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "lcn.datasource")
public class MyProperties {
	
	public MyProperties(){
		System.out.println("MyProperties");
	}

	private int maxActive;

	public int getMaxActive() {
		return maxActive;
	}

	public void setMaxActive(int maxActive) {
		this.maxActive = maxActive;
	}
}
